/* 
 * Enterprise Library Extensions - DI + ORM.
 * Copyright (C) 2006
 *
 * GNU General Public License
 *
 * This program is free software; you can redistribute 
 * it and/or modify it under the terms of the GNU General Public License 
 * as published by the Free Software Foundation; either version 2 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
 * See the GNU General Public License for more details.
 */
using System;

namespace ELE.EnterpriseLibrary.Naming
{
  /// <summary>
  /// This exception indicates that the name being specified does not conform to the naming syntax of 
  /// a naming system. This exception is thrown by any of the methods that does name parsing (such as 
  /// those in Context, DirContext, CompositeName and CompoundName). <br/>
  /// Synchronization and serialization issues that apply to NamingException apply directly here. 
	/// </summary>
	public class InvalidNameException : NamingException
  {
    /// <summary>
    /// Constructs an instance of InvalidNameException with all fields set to null.
    /// </summary>
    public InvalidNameException()
    {
    }
    /// <summary>
    /// Constructs an instance of InvalidNameException using an explanation of the problem
    /// </summary>
    /// <param name="message"></param>
    public InvalidNameException(string message): base(message)
    {
    }
    /// <summary>
    /// Constructs an instance of InvalidNameException using an explanation of the problem and 
    /// inner exception
    /// </summary>
    /// <param name="message"></param>
    /// <param name="inner"></param>
    public InvalidNameException(string message, Exception inner): base(message, inner)
    {
    }
	}
}
